package com.atguigu08.constructor.exer2;

/**
 * ClassName: TirAngelTest
 * Package: com.atguigu08.constructor.exer2
 * Description:
 *
 * @Author BuTang
 * @Create 2023/3/1 15:30
 * @Version 1.0
 */
public class TriAngleTest {
    public static void main(String[] args) {
        TriAngle t1 = new TriAngle(12.0,12.1);
        System.out.println(t1.findSrea());

        TriAngle t2 =new TriAngle();
        t2.setBase(12);
        t2.setHeight(12);
        System.out.println(t2.findSrea());
    }
}
